package com.ocean.config;

import com.ocean.constants.ApplicationConstants;
import net.minecraft.item.ItemGroup;
import net.minecraft.item.ItemStack;
import net.minecraft.util.ResourceLocation;
import net.minecraftforge.registries.ForgeRegistries;

/**
 * 定义组
 *
 * @author zhang
 * @since 2021/11/5
 */
public class GroupDefine {

    /**
     * 方块
     */
    public static final ItemGroup BLOCK_GROUP = new GroupConfig("dontStarve-block", () ->
            new ItemStack(ForgeRegistries.ITEMS.getValue(new ResourceLocation(ApplicationConstants.MOD_ID, "cheese_block")))
    );

    /**
     * 素食
     */
    public static final ItemGroup QUALITY_GROUP = new GroupConfig("dontStarve-quality", () ->
            new ItemStack(ForgeRegistries.ITEMS.getValue(new ResourceLocation(ApplicationConstants.MOD_ID, "cactus_meat")))
    );

    /**
     * 怪物肉
     */
    public static final ItemGroup MOB_GROUP = new GroupConfig("dontStarve-mob", () ->
            new ItemStack(ForgeRegistries.ITEMS.getValue(new ResourceLocation(ApplicationConstants.MOD_ID, "roast_rotten_flesh")))
    );

    /**
     * 种子
     */
    public static final ItemGroup SEED_GROUP = new GroupConfig("dontStarve-seed", () ->
            new ItemStack(ForgeRegistries.ITEMS.getValue(new ResourceLocation(ApplicationConstants.MOD_ID, "roast_wheat_seed")))
    );
}
